import java.util.Random;

public class Random33 {
    public static void main(String[] args) {

        int[] number = new int[7];
        Random rand = new Random();
        int j=0;
        for (int i = 0; i < number.length; i++) {
            number[i] = rand.nextInt(33) + 1;

            while (j < i) {
                for (j = 0; j < i; j++) {

                    if(number[i]==number[j]){
                        number[i]=rand.nextInt(33) + 1;
                        break;
                    }

                }
            }
        }
        for (int i = 0; i < number.length; i++) {
            System.out.print(number[i] + ",");
        }

    }
}